// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently

#pragma once

#ifndef STRICT
#define STRICT
#endif

 
#include "targetver.h"

#define _ATL_APARTMENT_THREADED
#define _ATL_NO_AUTOMATIC_NAMESPACE

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS	// some CString constructors will be explicit


#include "resource.h"
#include <atlbase.h>
#include <atlcom.h>
#include <atlcoll.h>
#include <atlstr.h>
#include <atlenc.h>
#include <atlfile.h>
#include <atltime.h>
#include <atlsync.h>
#import <msxml6.dll>

static const CLSID CLSID_SharePointDocumentParser = {0x0D55445B,0xFA00,0x4E5B,{0xAB,0x7F,0x8B,0xB5,0xD9,0x0E,0xA0,0x44}};

using namespace ATL;

#ifndef UNICODE
#error This Class must be compiled with UNICODE
#endif

static const DWORD ONE_KILOBYTE = 1024;	 
static const DWORD ONE_MEGABYTE = ONE_KILOBYTE * 1024;	 
static const DWORD ONE_GIGABYTE = ONE_MEGABYTE * 1024;	 
static const DWORD MAX_DWORD = 0xFFFFFFFF;

#define SCORM_META_DATA_XML_FILE_NAME L"imsmanifest.xml"
#define OFFICE_CORE_META_DATA_XML_FILE_NAME L"docProps/core.xml"
#define OFFICE_APP_META_DATA_XML_FILE_NAME L"docProps/app.xml"
#define OFFICE_CUSTOM_META_DATA_XML_FILE_NAME L"docProps/custom.xml"
#define MULTI_VALUE_DELIMITER_A ","
#define MULTI_VALUE_DELIMITER_W L","
#define PARSER_CHAIN_TRUE_PROPERTY_NAME "11B0A3C2EB224a0c825105B58B1D9DB9"  // no particular significance, just a trimmed GUID


static const int PARSER_TYPE_INT = 1;
static const int PARSER_TYPE_DOUBLE = 2;
static const int PARSER_TYPE_FILETIME = 3;
static const int PARSER_TYPE_BOOLEAN = 4;
static const int PARSER_TYPE_SHORTTEXT = 5;
static const int PARSER_TYPE_LONGTEXT = 6;
